<?php
$config['enabled_auto_router'] = true;
$config['error_handler'] = 'apf_error_handler';
$config['debug_allow_patterns'] = array(
        '/127\.0\.0\.1/',
        '/^192\.168\.181\./',
        '/^192\.168\.180\./',
        '/^192\.168\.1\./',
        '/^192\.168\.2\./',
        '/^192\.168\.10\./',
        '/^10\.0\.0\./',
        '/^222\.66\.14\.14$/',
        '/^221\.133\.228\.74$/',
        '/^58\.246\.59\.106$/'
);
//LDAP 登录配置
$config['ldap_host'] = '192.168.1.98';
$config['ldap_port'] = '389';

$config['base_domain'] = "home.corp.anjuke.com";

//考勤oauth 登陆认证信息 -- online
/*$config['oauth_info'] = array(
        'client_id' => 'auth_portal',
        'client_secret' => 'be88d03c',
        'oauth_url' => 'https://auth.corp.anjuke.com',
);*/

//事业部
$config['divisions'] = array(
    "1" => "总部",
    "2" => "二手房",
    "3" => "商业地产",
    "4" => "新房",
    "5" => "租房",
    "6" => "移动",
);
//部门
$config['departments'] = array(
    "1" => "财务部",
    "2" => "技术部",
    "3" => "销售部",
    "4" => "HR",
    "5" => "运营部",
    "6" => "媒体部",
    "7" => "产品部",
    "8" => "运营中心",
    "9" => "办公室",
    "10" => "客服部",
    "11" => "市场部",
    "12" => "数据部",
);

//城市
$config['cities'] = array (
    "11"=>'上海',
    "14"=>'北京',
    "13"=>'深圳',
    "15"=>'成都',
    "16"=>'天津',
    "17"=>'苏州',
    "18"=>'昆山',
    "19"=>'长沙',
    "20"=>'杭州',
    "21"=>'重庆',
    "12"=>'广州',
    "22"=>'无锡',
    "23"=>'大连',
    "24"=>'佛山',
    "25"=>'福州',
    "26"=>'合肥',
    "27"=>'惠州',
    "28"=>'济南',
    "29"=>'南京',
    "30"=>'青岛',
    "31"=>'三亚',
    "32"=>'西安',
    "33"=>'郑州'
);

//所有项目列表
$config['projects'] = array(
    "1" => array(
            "title" => "考勤系统",
            "url" => "http://kq.corp.anjuke.com/",
            ),
    "2" => array(
            "title" => "绩效考核系统",
            "url" => "http://jx.corp.anjuke.com/",
    ),
    "3" => array(
            "title" => "PMT项目管理系统",
            "url" => "http://pmt.corp.anjuke.com/",
    ),
    "4" => array(
            "title" => "Point积分系统",
            "url" => "http://point.corp.anjuke.com/",
    ),
    "5" => array(
            "title" => "MAX数据分析中心",
            "url" => "http://max.corp.anjuke.com/",
    ),
    "6" => array(
            "title" => "IT资源操作手册",
            "url" => "http://acia.corp.anjuke.com/itsupport/main.html",
    ),
    "7" => array(
            "title" => "分公司地址信息",
            "url" => "http://acia.corp.anjuke.com/info/Address.html",
    ),
    "8" => array(
            "title" => "常用文件搜索",
            "url" => "http://fs.corp.anjuke.com/",
    ),
    "9" => array(
            "title" => "技术部图书馆",
            "url" => "http://book.corp.anjuke.com/",
    ),
    "10" => array(
            "title" => "会议室预定",
            "url" => "http://room.corp.anjuke.com",
    ),
    "11" => array(
            "title" => "产品建议平台",
            "url" => "http://uvoice.qa.anjuke.com/home",
    ),
    "12" => array(
            "title" => "安居客百科",
            "url" => "http://baike.anjuke.com/",
    ),
    "13" => array(
            "title" => "安居客后台系统",
            "url" => "http://one.anjuke.com/",
    ),
    "14" => array(
            "title" => "新房后台系统",
            "url" => "http://one.aifang.com/",
    ),
    "15" => array(
            "title" => "邮箱Webmail",
            "url" => "http://mail.anjuke.com/",
    ),
    "16" => array(
            "title" => "文档中心",
            "url" => "http://doc.corp.anjuke.com/",
    ),
    "17" => array(
            "title" => "安居客内部QA",
            "url" => "http://acia.corp.anjuke.com/info/",
    ),
    "18" => array(
            "title" => "视频中心",
            "url" => "http://v.corp.anjuke.com",
    ),
    //"19" => array(
    //        "title" => "离职申请",
    //        "url"   => "http://home.corp.anjuke.com/flow/ApplyRetire/"
    //),
    20   => array(
            "title" => "安居客之家",
            "url"=> "http://bbs.corp.anjuke.com/"
    ),
    21   =>array(
            "title" => "邮件组列表",
            "url"=> "http://it.corp.anjuke.com/Mail_Group_Browse.php"
    ),
    22   =>array(
            "title" => "安居客财务QA",
            "url"=> "http://home.corp.anjuke.com/qa/finance/"
    ),
    23   =>array(
            "title" => "新房之家",
            "url"=> "http://1.corp.anjuke.com/"
    ),
    24   =>array(
            "title" => "数据需求管理系统",
            "url"=> "http://data.corp.anjuke.com/"
    ),
);

$config['role_admin'] = array(
    'SHD823',//余燕
    //'SHF4062',//刘锐
);
//cxo级和vp级审批通过，后面就不用审批了
$config['role_cxo'] = array(
    4124,//倪军
    5587,//吕广渝
    5635,//王俊朗
    5331,//唐皓
    5585,//胡建东
    5715,//陈姝
    6872,//杨晴
    6932,//ceo
);

//需要监控的controll
$config['check_user_security_controller'] = array(
        "Flow_Transfer",
        "Flow_Key",
        "Flow_VerifySecurity"
);